package com.rjpacket.supernews.app.models;

import org.json.JSONException;
import org.json.JSONObject;

import java.io.Serializable;
//解析详细的图片新闻内容

/**
 * Created by Administrator on 2015/3/12 0012.
 */
public class RecycleCategory implements Serializable {


    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    private String sourceUrl;


    public void parseJSon(JSONObject json) {

        if (json != null) {

            try {

                sourceUrl = json.getString("sourceUrl");

            } catch (JSONException e) {

                e.printStackTrace();
            }
        }
    }
}
